#pragma once
#include "precompiled.h"

class HealthComponent
{
public:
	HealthComponent(void);
	~HealthComponent(void);

	void Initialize( int maxHealth, int currentHealth );
	int &CurrentHealth();
	float HealthPercentage();

	void KillHealth();
	void RefreshHealth();

	void LowerHealth( int rate );
	void RaiseHealth( int rate );
private:
	int current_health, max_health;
};

